package cn.iocoder.yudao.module.ai.controller.admin.operationequ.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 运营中心-算力设备 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OperationEquRespVO {

    @Schema(description = "自增编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "30934")
    @ExcelProperty("自增编号")
    private Long id;

    @Schema(description = "原始消息编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11469")
    @ExcelProperty("原始消息编号")
    private Long fromMessageId;

    @Schema(description = "在原始消息的消息索引号，从0开始")
    @ExcelProperty("在原始消息的消息索引号，从0开始")
    private Integer fromMessageIndex;

    @Schema(description = "原始消息编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "18539")
    @ExcelProperty("原始消息编号")
    private String companyId;

    @Schema(description = "所属企业名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "测试煤矿")
    private String companyName;

    @Schema(description = "设备描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备描述")
    private String equipmentDesc;

    @Schema(description = "设备id", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备id")
    private String ip;

    @Schema(description = "cpu温度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("cpu温度")
    private String cpuTemperature;

    @Schema(description = "cpu负载", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("cpu负载")
    private String cpuLoad;

    @Schema(description = "内存", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内存")
    private String mem;

    @Schema(description = "磁盘", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("磁盘")
    private String disk;

    @Schema(description = "gpu信息,注意：数组字符串格式", requiredMode = Schema.RequiredMode.REQUIRED,example = "[30,40.5,60.5]")
    @ExcelProperty("gpu信息,数组字符串格式")
    private String gpuList;

    @Schema(description = "gpu信息,gpuList的转化成列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("gpu信息,gpuList的转化成列表")
    private List<Double> gpuLoadList;

    @Schema(description = "在线状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("在线状态")
    private String status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "供应商id", example = "4068")
    @ExcelProperty("供应商id")
    private Long suplierId;

}